package com.yumeko.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: SpringCloudAlibaba
 * @description:
 * @author: Zheng Hao
 * @create: 2020-03-17 19:58
 */
@RestController
public class PaymentController {

    @Value("${server.port}")
    private String serverPort;

    @GetMapping("/payment/info")
    public String paymentInfo() {
        return "success o(∩_∩)o 哈哈"+serverPort;
    }
}
